/*
 * @Author: '浪川' '1214391613@qq.com'
 * @Date: 2025-10-10 11:13:26
 * @LastEditors: '浪川' '1214391613@qq.com'
 * @LastEditTime: 2025-10-10 11:48:07
 * @FilePath: \book-3d-show\src\interfaces\ICBook.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface IBookBase {
  name: string
  width: number
  height: number
  depth: number
  total: number
}
export interface IBoBoBook extends IBookBase {
  radius: number
}

// 类型守卫
export function isBoBoBook(book: IBookBase): book is IBoBoBook {
  return "radius" in book
}
